import request from '@/utils/request'
// 获取自动断面水质
export function getAutoWaterQuality(query) {
  return request({
    url: '/gis/leaderCockpit/autoWaterQuality',
    method: 'get',
    params: query
  })
}
// 获取自动水质数据
export function autovaluatehourdata(query) {
  return request({
    url: '/monitor/autovaluatehourdata/newlist',
    method: 'get',
    params: query
  })
}


// 获取自动水质数据
export function getPollutionSourceAnalysis(query) {
  return request({
    url: '/gis/leaderCockpit/pollutionSourceAnalysis',
    method: 'get',
    params: query
  })
}

// 获取预警统计信息
export function getWarningStatistics(query) {
  return request({
    url: '/gis/leaderCockpit/getWarningStatistics',
    method: 'get',
    params: query
  })
}

// 获取最新预警信息
export function getWarningLastInfo(query) {
  return request({
    url: '/gis/leaderCockpit/getWarningLastInfo',
    method: 'get',
    params: query
  })
}


// 获取手动水质数据
export function getManualWaterQuality(query) {
  return request({
    url: '/gis/leaderCockpit/manualWaterQuality',
    method: 'get',
    params: query
  })
}

 
export function getManualSegmentDateChange(query) {
  return request({
    url: '/gis/leaderCockpit/manualSegmentDateChange',
    method: 'get',
    params: query
  })
}